]> dgit.raspbian.org Git - gnome-shell.git/commit
screenShield: Avoid unfocused authentication view after resume
authorLukas Schmelting <lschmelting@posteo.com>
Thu, 27 Nov 2025 22:58:32 +0000 (23:58 +0100)
committerMarge Bot <marge-bot@gnome.org>
Fri, 28 Nov 2025 11:33:20 +0000 (11:33 +0000)
commit4bfa300850045dcd7c974bdd128adef13f2777b1
treeb93ccae9006bc8e7be165d21bb61e93386349e91
parentc6adc248cb32a0c285ae44f2e83f60ec21b34b53
screenShield: Avoid unfocused authentication view after resume

When suspending on the authentication page of the lock screen in a user
session, the session resumes with the authentication dialog shown but
its password entry field unfocused. Instead, focus moves to the
authentication dialog itself while _ensureUnlockDialog() in
screenShield.js is called on resume.

Avoid this edge case by switching to the clock view instead before
suspend, which also provides a more consistent user experience.

Co-authored-by: Florian Müllner <fmuellner@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3962>
js/ui/screenShield.js